package com.meow_woof.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.meow_woof.dto.Result;
import com.meow_woof.entity.Blog;

/**
 * 服务类
 */

public interface IBlogService extends IService<Blog> {

    Result queryHotBlog(Integer current);

    Result queryById(Long id);

    Result likeBlog(Long id);

    Result queryBlogLikes(Long id);

    Result saveBlog(Blog blog);

    Result queryBlogOfFollow(Long max, Integer offset);
}
